package cn.iocoder.yudao.module.book.controller.admin.posts.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 社区动态 Response VO")
@Data
@ExcelIgnoreUnannotated
public class PostsRespVO {

    @Schema(description = "动态ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "28826")
    @ExcelProperty("动态ID")
    private Long postId;

    @Schema(description = "发布用户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "30927")
    @ExcelProperty("发布用户ID")
    private Integer userId;

    @Schema(description = "分类：experience-经验分享，study-学习记录，qa-问答求助，resource-资源推荐", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("分类：experience-经验分享，study-学习记录，qa-问答求助，resource-资源推荐")
    private String category;

    @Schema(description = "标题", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("标题")
    private String title;

    @Schema(description = "内容", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("内容")
    private String content;

    @Schema(description = "学习时长（学习记录类型时使用）")
    @ExcelProperty("学习时长（学习记录类型时使用）")
    private String studyDuration;

    @Schema(description = "阅读页数（学习记录类型时使用）")
    @ExcelProperty("阅读页数（学习记录类型时使用）")
    private String studyPages;

    @Schema(description = "学习内容（学习记录类型时使用）")
    @ExcelProperty("学习内容（学习记录类型时使用）")
    private String studyContent;

    @Schema(description = "关联绘本ID（可选）", example = "28072")
    @ExcelProperty("关联绘本ID（可选）")
    private Integer relatedBookId;

    @Schema(description = "关联绘本集ID（可选）", example = "20598")
    @ExcelProperty("关联绘本集ID（可选）")
    private Integer relatedCollectionId;

    @Schema(description = "关联打卡记录ID（可选）", example = "18618")
    @ExcelProperty("关联打卡记录ID（可选）")
    private Integer relatedClockId;

    @Schema(description = "点赞数", requiredMode = Schema.RequiredMode.REQUIRED, example = "27220")
    @ExcelProperty("点赞数")
    private Integer likesCount;

    @Schema(description = "评论数", requiredMode = Schema.RequiredMode.REQUIRED, example = "14057")
    @ExcelProperty("评论数")
    private Integer commentsCount;

    @Schema(description = "分享数", requiredMode = Schema.RequiredMode.REQUIRED, example = "14588")
    @ExcelProperty("分享数")
    private Integer sharesCount;

    @Schema(description = "状态：1-正常，0-隐藏，-1-删除", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("状态：1-正常，0-隐藏，-1-删除")
    private Integer status;

    @Schema(description = "是否置顶：1-是，0-否", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("是否置顶：1-是，0-否")
    private Integer isTop;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}